package com.liang.auth.application.convert;

import com.liang.auth.application.dto.AuthPermissionDTO;
import com.liang.auth.application.dto.AuthRoleDTO;
import com.liang.auth.domain.bo.AuthPermissionBO;
import com.liang.auth.domain.bo.AuthRoleBO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface AuthPermissionDTOConverter {
    AuthPermissionDTOConverter INSTANCE = Mappers.getMapper(AuthPermissionDTOConverter.class);

    AuthPermissionBO convertDTO2BO(AuthPermissionDTO authPermissionDTO);
}
